import request from "./request.js"

function getSearchHot() {
	return request.get('/api/getSearchHot');
}

function search(val) {
	return request.get('api/search', {
		params: {
			searchText: val
		}
	})
}

module.exports = {
	getSearchHot,
	search
}